package com.xuzhen.designPattern.abstractFactory.one;

public class WorkPlace {
	private ComputerFactory computerFactory;

	public WorkPlace(ComputerFactory computerFactory) {
		super();
		this.computerFactory = computerFactory;
	}

	public void BuildProduct() {
		Cpu cpu = computerFactory.createCpu();
		Power power = computerFactory.createPower();
	}
}
